<template>
  <div class="submit">
    <el-button type="primary" round @click="submit">提交</el-button>
  </div>
</template>
<style>
.submit {
  display: flex;
  padding: 4rem;
  align-self: center;
  justify-self: center;
  justify-content: center;
}
.submit .el-button {
  width: 40%;
  background: #e6a23c;
  border: none;
  transition: 0.3s ease-in;
}
.submit .el-button:hover {
  transform: scale(1.1);
}
.submit .el-button:hover:after {
  transform: scaleY(1);
}
.submit .el-button::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  border-radius: 50px;
  transform: scaleX(0);
  transition: 0.3s ease-in;
  background: rgba(240, 232, 232, 0.349);
}
</style>